package com.umfb.mongodb;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;


/**
 * Created by zcah on 18-4-23.
 */
public class ServletInitializer extends SpringBootServletInitializer {
private static final Logger logger = LoggerFactory.getLogger(ServletInitializer.class);
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {

        return builder.sources(DubboDemoMongoApplication.class);
    }
}
